//
//  MBProgressHUD+MoreExtensions.h
//  KGPlayer
//
//  Created by neuedu on 15/10/20.
//  Copyright (c) 2015年 neuedu. All rights reserved.
//

#import "MBProgressHUD.h"

@protocol MBProgressHUDExtensionsDelegate <NSObject>
@optional
- (void)hudViewWasTapped;
- (void)afterShowTipHUD;
@end

@interface MBProgressHUD (MoreExtensions)
@property (strong, nonatomic) id<MBProgressHUDExtensionsDelegate> delegateExtension;

+(instancetype)showHUDAddedTo:(UIView *)view WithLabel:(NSString*)label animated:(BOOL)animated;
+(instancetype)showHUDAddedTo:(UIView *)view WithLabel:(NSString*)label offset:(CGFloat)yOffset delay:(NSTimeInterval)delay font:(UIFont*)font animated:(BOOL)animated;

+(instancetype)showTipHUDAddedTo:(UIView *)view WithLabel:(NSString *)tip;;
+(instancetype)showTipHUDAddedTo:(UIView *)view WithLabel:(NSString *)tip offset:(CGFloat)yOffset delay:(NSTimeInterval)delay;
+(instancetype)showTipHUDAddedTo:(UIView *)view WithLabel:(NSString *)tip offset:(CGFloat)yOffset delay:(NSTimeInterval)delay font:(UIFont*) font multiLine: (bool) bMultiLine contentColor:(UIColor*) ctColor bgColor:(UIColor*) bgColor alpha:(CGFloat) alpha;

+(instancetype)showTipHUDAddedTo:(UIView *)view tip:(NSString *)tip afterDelay:(NSTimeInterval)delay;
+(instancetype)showBigRectangleView:(NSString *)tip;
+(instancetype)showBigRectangleAddedTo:(UIView *)view tip:(NSString *)tip;
@end
